package com.dr.pojo;

/**
 * Created by tugou on 2017/5/27.
 */
public class DirInfo {
    /**
     * 文件名称
     */
    private String dirName;
    /**
     *文件数量
     */
    private String fileNum;

    /**
     * 文件创建时间
     */
    private  String dirCreateData;

    public String getDirCreateData() {
        String data = dirName.replaceAll("-","");
        dirCreateData = data.substring(0,4);
        dirCreateData += "-";
        dirCreateData += data.substring(4,6);
        dirCreateData += "-";
        dirCreateData += data.substring(6,8);
        dirCreateData += " ";
        dirCreateData += data.substring(8,10);
        dirCreateData += ":";
        dirCreateData += data.substring(10,12);
        dirCreateData += ":";
        dirCreateData += data.substring(12,14);
        return dirCreateData;
    }

    public String getDirName() {
        return dirName;
    }

    public void setDirName(String dirName) {
        this.dirName = dirName;
    }

    public String getFileNum() {
        return fileNum;
    }

    public void setFileNum(String fileNum) {
        this.fileNum = fileNum;
    }
}
